﻿<Window x:Class="Wpf.Demo.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:Controls="clr-namespace:Wpf.Controls;assembly=Wpf.Controls"
        Title="WPF 4 - TwoStatesButton Demo" Height="350" Width="525" Background="#719A9696">
    
    <StackPanel VerticalAlignment="Center">
        <Controls:TwoStatesButton LeftValue="First" RightValue="Second" Margin="30" />

        <Controls:TwoStatesButton Margin="30" />

        <Controls:MyToggleButton Margin="30" Left="Left" Right="Right" />

        <Controls:MyToggleButton Margin="30" />
    </StackPanel>
    
</Window>